copy an array without pointer in angular

76

copy an array without pointer in angular -

this.array2 = this
      .array1
      .map(el => ({...el, isActive: false }));

Comments

Submit
0 Comments